import { getRandomDateTime, getNowDate, getFeatureDate } from '../../../utils'
import Mock from 'mockjs'
export const TenantList: any[] = [
  {
    id: 1,
    name: 'superAdmin',
    contactName: '@cname()',
    contactMobile: /1(3[0-9]|4[01456879]|5[0-35-9]|6[2567]|7[0-8]|8[0-9]|9[0-35-9])\d{8}/,
    remark: '系统人员专用租户',
    packageId: 0,
    status: 0,
    domain: Mock.mock('@domain'),
    username: 'admin',
    password: '123456',
    expireTime: getRandomDateTime(getFeatureDate(1), getFeatureDate(10)),
    creator: '1',
    create_time: getRandomDateTime(getFeatureDate(-10), getNowDate()),
    updater: '',
    update_time: '',
    deleted: false,
    deleted_time: ''
  },
  {
    id: 2,
    name: '小米',
    contactName: '@cname()',
    contactMobile: /1(3[0-9]|4[01456879]|5[0-35-9]|6[2567]|7[0-8]|8[0-9]|9[0-35-9])\d{8}/,
    remark: '',
    packageId: 5,
    status: 0,
    domain: Mock.mock('@domain'),
    username: 'xiaomi',
    password: '123456',
    expireTime: getRandomDateTime(getFeatureDate(1), getFeatureDate(10)),
    creator: '1',
    create_time: getRandomDateTime(getFeatureDate(-10), getNowDate()),
    updater: '',
    update_time: '',
    deleted: false,
    deleted_time: ''
  },
  {
    id: 3,
    name: '百度',
    contactName: '@cname()',
    contactMobile: /1(3[0-9]|4[01456879]|5[0-35-9]|6[2567]|7[0-8]|8[0-9]|9[0-35-9])\d{8}/,
    remark: '',
    packageId: 7,
    status: 0,
    domain: Mock.mock('@domain'),
    username: 'baidu',
    password: '123456',
    expireTime: getRandomDateTime(getFeatureDate(1), getFeatureDate(10)),
    creator: '1',
    create_time: getRandomDateTime(getFeatureDate(-10), getNowDate()),
    updater: '',
    update_time: '',
    deleted: false,
    deleted_time: ''
  },
  {
    id: 4,
    name: '大疆',
    contactName: '@cname()',
    contactMobile: /1(3[0-9]|4[01456879]|5[0-35-9]|6[2567]|7[0-8]|8[0-9]|9[0-35-9])\d{8}/,
    remark: '',
    packageId: 1,
    status: 0,
    domain: Mock.mock('@domain'),
    username: 'dajiang',
    password: '123456',
    expireTime: getRandomDateTime(getFeatureDate(1), getFeatureDate(10)),
    creator: '1',
    create_time: getRandomDateTime(getFeatureDate(-10), getNowDate()),
    updater: '',
    update_time: '',
    deleted: false,
    deleted_time: ''
  },
  {
    id: 5,
    name: '苹果',
    contactName: '@cname()',
    contactMobile: /1(3[0-9]|4[01456879]|5[0-35-9]|6[2567]|7[0-8]|8[0-9]|9[0-35-9])\d{8}/,
    remark: '',
    packageId: 6,
    status: 0,
    domain: Mock.mock('@domain'),
    username: 'apple',
    password: '123456',
    expireTime: getRandomDateTime(getFeatureDate(1), getFeatureDate(10)),
    creator: '1',
    create_time: getRandomDateTime(getFeatureDate(-10), getNowDate()),
    updater: '',
    update_time: '',
    deleted: false,
    deleted_time: ''
  },
  {
    id: 6,
    name: '华为',
    contactName: '@cname()',
    contactMobile: /1(3[0-9]|4[01456879]|5[0-35-9]|6[2567]|7[0-8]|8[0-9]|9[0-35-9])\d{8}/,
    remark: '',
    packageId: 4,
    status: 0,
    domain: Mock.mock('@domain'),
    username: 'huawei',
    password: '123456',
    expireTime: getRandomDateTime(getFeatureDate(1), getFeatureDate(10)),
    creator: '1',
    create_time: getRandomDateTime(getFeatureDate(-10), getNowDate()),
    updater: '',
    update_time: '',
    deleted: false,
    deleted_time: ''
  },
  {
    id: 7,
    name: '京东',
    contactName: '@cname()',
    contactMobile: /1(3[0-9]|4[01456879]|5[0-35-9]|6[2567]|7[0-8]|8[0-9]|9[0-35-9])\d{8}/,
    remark: '',
    packageId: 8,
    status: 0,
    domain: Mock.mock('@domain'),
    username: 'jingdong',
    password: '123456',
    expireTime: getRandomDateTime(getFeatureDate(1), getFeatureDate(10)),
    creator: '1',
    create_time: getRandomDateTime(getFeatureDate(-10), getNowDate()),
    updater: '',
    update_time: '',
    deleted: false,
    deleted_time: ''
  },
  {
    id: 8,
    name: '谷歌',
    contactName: '@cname()',
    contactMobile: /1(3[0-9]|4[01456879]|5[0-35-9]|6[2567]|7[0-8]|8[0-9]|9[0-35-9])\d{8}/,
    remark: '',
    packageId: 2,
    status: 0,
    domain: Mock.mock('@domain'),
    username: 'google',
    password: '123456',
    expireTime: getRandomDateTime(getFeatureDate(1), getFeatureDate(10)),
    creator: '1',
    create_time: getRandomDateTime(getFeatureDate(-10), getNowDate()),
    updater: '',
    update_time: '',
    deleted: false,
    deleted_time: ''
  }
]
